{namespace mitel.sidebar_gadget.widget}

/**
 * Build the basic gadget container
 */
{template .container}
  <div id="sidebar_gadget" class="{css sidebar_content}">
   <div id="incoming_calls" class="{css sidebar_incoming_calls}"></div>
   
   <div id="sidebar_mobile" class="{css sidebar_mobile}">
      <input type="checkbox" name="sidebar_ismobile" id="sidebar_ismobile" value="true" /> 
      <label for="sidebar_ismobile">This device is mobile</label>
   </div>
   
   <div id="auth" class="{css auth}">
      <button id="auth_button" class="{css auth_button}">Permissions</button>
   </div>
   
   <div id="presto"></div>
  </div>
{/template}

/**
 * Build a call container
 */
{template .call}
  <a href="#">Incoming Call</a>
  <br />
{/template}